<template>
    <h1>组件使用</h1>
    <!-- 双标签，单标签 -->
    <MyCom1></MyCom1>
    <hr>
    <MyCom1/>
</template>

<script setup>
// import MyCom1 from './components/MyCom1.vue';
import MyCom1 from '@/components/MyCom1.vue';
</script>

<style lang="scss" scoped>

</style>